package com.hzit.order.service;

import com.hzit.order.dto.OrderDTO;
import com.hzit.order.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzit.order.vo.OrderVo;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wf
 * @since 2024-02-27
 */
public interface IOrderService extends IService<Order> {

	void saveOrder(OrderVo vo) throws ExecutionException, InterruptedException;

	List<OrderDTO> findOrderListByLogin(String login);
}
